Skip to content
Snippets Groups Projects
Unverified Commit a9363020 authored by Maxime FRIESS's avatar Maxime FRIESS :blue_heart:
Browse files

[build] Added Dockerfile

parent 8c396867
Branches
Tags 0.1.0
No related merge requests found
Pipeline #69124 passed with stage
in 5 minutes and 32 seconds
node_modules
build
\ No newline at end of file
REACT_APP_VERSION=$npm_package_version
REACT_APP_SEB_API=http://seb.localhost:81/api/
\ No newline at end of file
REACT_APP_SEB_API=/api/
\ No newline at end of file
REACT_APP_VERSION=$npm_package_version
REACT_APP_SEB_API=
\ No newline at end of file
# Use node lts
FROM node:lts
# Set working directory
WORKDIR /seb-ui/
# Install dependencies
COPY package.json ./
COPY yarn.lock ./
RUN yarn install
RUN yarn global add serve
# Build
COPY . ./
RUN yarn build
# Run on port 3000
EXPOSE 3000
CMD serve -s build -l 3000
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment