docker files fixes from liaqat
This commit is contained in:
20
src/Managing.WebApp/Dockerfile
Normal file
20
src/Managing.WebApp/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM node:18-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
|
||||
ENV NODE_ENV=production
|
||||
ENV VITE_API_URL_LOCAL=https://localhost:5001
|
||||
ENV VITE_API_URL_SERVER=https://localhost
|
||||
|
||||
|
||||
RUN npm install serve -g
|
||||
|
||||
RUN npm install
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["npm", "run", "serve"]
|
||||
Reference in New Issue
Block a user