mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-06 11:30:13 +08:00
refactor: update Dockerfile paths for analytics service
This commit is contained in:
1 parent
0341efdd50
commit
3c2dfcf322
6 files changed
+14
-13
No files matched your search
+2
-2
@@ -1,5 +1,5 @@
|
||||
# Base stage
|
||||
FROM node:20-alpine as build
|
||||
FROM node:20-alpine AS build
|
||||
|
||||
WORKDIR /app
|
||||
COPY package.json yarn.lock ./
|
||||
@@ -14,7 +14,7 @@ COPY app ./app
|
||||
RUN yarn workspace app build
|
||||
|
||||
# Production stage
|
||||
FROM nginx:stable-alpine as prod
|
||||
FROM nginx:stable-alpine AS prod
|
||||
COPY --from=build /app/app/dist /usr/share/nginx/html
|
||||
COPY deployment/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
EXPOSE 80
|
||||
|
||||
Reference in new issue
Block a user