mirror of
https://github.com/FranP-code/shortly.git
synced 2025-10-13 00:43:28 +00:00
fastify initial commit
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM ubuntu:latest
|
||||
|
||||
RUN apt upgrade && apt update
|
||||
RUN apt install -y curl
|
||||
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash - &&\
|
||||
apt-get install -y nodejs
|
||||
|
||||
RUN npm install --global yarn
|
||||
|
||||
COPY [".", "/usr/src"]
|
||||
WORKDIR "/usr/src"
|
||||
|
||||
RUN yarn
|
||||
|
||||
CMD ["yarn", "dev"]
|
||||
Reference in New Issue
Block a user