mirror of
https://gitlab.com/little-lines/backend.git
synced 2024-11-24 21:06:51 +00:00
13 lines
261 B
Docker
13 lines
261 B
Docker
FROM docker.io/library/alpine:latest
|
|
|
|
# Set up environment for building
|
|
RUN apk add yarn nodejs
|
|
|
|
# Copy files to build environment
|
|
RUN mkdir /opt/ll-backend
|
|
COPY . /opt/ll-backend
|
|
|
|
# Run Vite production build
|
|
WORKDIR /opt/ll-backend
|
|
RUN yarn
|
|
CMD yarn run start
|