Skip to content

Commit

Permalink
adjusting CI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcusviniciusLsantos committed Jan 17, 2025
1 parent 7764f3e commit 0ea9a2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ RUN npm run build-only
FROM nginxinc/nginx-unprivileged:1.25-alpine

COPY --chown=nginx:nginx nginx.conf /etc/nginx/nginx.conf
COPY --from=builder --chown=nginx:nginx /app/remote/dist /usr/share/nginx/html/commerce-webapp/
COPY --from=builder --chown=nginx:nginx /app/dist /usr/share/nginx/html/commerce-webapp/
COPY docker/docker-entrypoint.sh /
RUN mv /usr/share/nginx/html/commerce-webapp/index.html /usr/share/nginx/html/commerce-webapp/index.html.tmpl \
&& cd /usr/share/nginx/html/commerce-webapp/ \
Expand Down
3 changes: 1 addition & 2 deletions rspack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ const targets = ['chrome >= 87', 'edge >= 88', 'firefox >= 78', 'safari >= 14'];
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);

console.log('PROCESS ENV ==========================>', process.env);
export default defineConfig({
mode: process.env.NODE_ENV,
context: __dirname,
Expand All @@ -31,7 +30,7 @@ export default defineConfig({
compress: true,
},
output: {
path: path.resolve(__dirname, './remote/dist/'),
path: path.resolve(__dirname, './dist'),
uniqueName: 'remote',
publicPath: `${process.env.PUBLIC_PATH_URL}`,
clean: true,
Expand Down

0 comments on commit 0ea9a2a

Please sign in to comment.