mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-22 06:16:52 +00:00
15 lines
285 B
Docker
15 lines
285 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/little-lines-frontend
|
|
COPY . /opt/little-lines-frontend
|
|
|
|
# Start the app
|
|
WORKDIR /opt/little-lines-frontend
|
|
RUN yarn
|
|
CMD yarn dev --host
|
|
|
|
|