mirror of
https://gitlab.com/little-lines/backend.git
synced 2024-11-22 05:16:52 +00:00
15 lines
304 B
Text
15 lines
304 B
Text
|
FROM nginx:alpine
|
||
|
|
||
|
# Set up environment for building
|
||
|
RUN apk add yarn nodejs
|
||
|
|
||
|
# Copy files to build environment
|
||
|
RUN mkdir /opt/ll-backend
|
||
|
RUN cp /home/sasha/Data1/Apps/ll-backend/.env /opt/ll-backend
|
||
|
COPY . /opt/ll-backend
|
||
|
|
||
|
# Run Vite production build
|
||
|
WORKDIR /opt/ll-backend
|
||
|
RUN yarn
|
||
|
CMD yarn run start
|