mirror of
https://gitlab.com/little-lines/frontend.git
synced 2024-11-23 15:56:53 +00:00
15 lines
291 B
Docker
15 lines
291 B
Docker
FROM docker.io/library/alpine:latest
|
|
|
|
# Set up environment for building
|
|
RUN apk add nodejs npm
|
|
|
|
# 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 npm i
|
|
CMD npm run dev -- --host
|
|
|
|
|