2022-05-17 23:27:20 +03:00
|
|
|
FROM alpine
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-18 22:49:18 +03:00
|
|
|
LABEL version="1.5.1"
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Copy the distribution files
|
|
|
|
COPY ./dist /app
|
2022-05-15 12:43:42 +03:00
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Make /app the work directory
|
2022-05-15 12:43:42 +03:00
|
|
|
WORKDIR /app
|
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Expose the listening port
|
2022-05-15 12:43:42 +03:00
|
|
|
EXPOSE 8080
|
|
|
|
|
2022-05-17 23:27:20 +03:00
|
|
|
# Run the program
|
|
|
|
ENTRYPOINT ["./freepad"]
|