Compare commits
7 Commits
Author | SHA1 | Date |
---|---|---|
Nicolai Ort | e02d91e662 | |
Philipp Dormann | 8d9cf8d1b3 | |
Philipp Dormann | d97450cf53 | |
Nicolai Ort | fd0a586ed6 | |
Nicolai Ort | af6500ccb4 | |
Philipp Dormann | 9a3c55d235 | |
Philipp Dormann | 86ef277c90 |
|
@ -58,7 +58,6 @@ jspm_packages/
|
|||
.yarn/build-state.yml
|
||||
.yarn/install-state.gz
|
||||
.pnp.*
|
||||
yarn.lock
|
||||
package-lock.json
|
||||
|
||||
*.sqlite*
|
10
CHANGELOG.md
10
CHANGELOG.md
|
@ -2,11 +2,21 @@
|
|||
|
||||
All notable changes to this project will be documented in this file. Dates are displayed in UTC.
|
||||
|
||||
#### [0.1.0](https://git.odit.services/kauft.es/linkylinky/compare/0.0.2...0.1.0)
|
||||
|
||||
- add lockfile [skip-ci] [`d97450c`](https://git.odit.services/kauft.es/linkylinky/commit/d97450cf5389965d8183b5719aad7e9e6f0181ae)
|
||||
- smaller Dockerfile [skip-ci] [`86ef277`](https://git.odit.services/kauft.es/linkylinky/commit/86ef277c902aabb52acb5f846cb55406dc4d1095)
|
||||
- Added tag commit args [`fd0a586`](https://git.odit.services/kauft.es/linkylinky/commit/fd0a586ed6e365801979c16d809a8254f64049be)
|
||||
- Now signing release commits [`af6500c`](https://git.odit.services/kauft.es/linkylinky/commit/af6500ccb4792616f28bec77eda5c5e116422604)
|
||||
|
||||
#### 0.0.2
|
||||
|
||||
> 14 August 2021
|
||||
|
||||
- Migrated to knex [`823b211`](https://git.odit.services/kauft.es/linkylinky/commit/823b211c8c4fd4de3a6043696ca070101173aa1b)
|
||||
- Added basics for auth [`6d417fa`](https://git.odit.services/kauft.es/linkylinky/commit/6d417fac1b4d77ab5552b75483cfc787d466e699)
|
||||
- Initial [`ab17f91`](https://git.odit.services/kauft.es/linkylinky/commit/ab17f9148af6811a53bf323172d045cc71ecfb6d)
|
||||
- 🚀RELEASE 0.0.2 [`a4bdb4d`](https://git.odit.services/kauft.es/linkylinky/commit/a4bdb4dca4aaba397688d43f1ec3a26cb2143dea)
|
||||
- Added image builds by drone [`1a8410c`](https://git.odit.services/kauft.es/linkylinky/commit/1a8410c421e30001ae9623c19a8e72e0632ed920)
|
||||
- Working registration/auth [`81b314a`](https://git.odit.services/kauft.es/linkylinky/commit/81b314ac55e9ab0cd603dda48473c0fe3db6c42e)
|
||||
- Implemented short code generation via nanoid [`1550860`](https://git.odit.services/kauft.es/linkylinky/commit/15508606a41057857cce0d2ae16e389432c76960)
|
||||
|
|
20
Dockerfile
20
Dockerfile
|
@ -1,15 +1,15 @@
|
|||
FROM node:16-alpine as run
|
||||
|
||||
COPY package.json .
|
||||
RUN yarn --prod
|
||||
|
||||
ENV NODE_ENV production
|
||||
EXPOSE 3000
|
||||
|
||||
FROM node:16.6.2-alpine3.14
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY yarn.lock .
|
||||
RUN yarn --production --frozen-lockfile
|
||||
COPY migrations ./migrations
|
||||
COPY src/server.js ./
|
||||
COPY knexfile.js ./
|
||||
|
||||
#
|
||||
FROM astefanutti/scratch-node:16.0.0
|
||||
WORKDIR /app
|
||||
COPY --from=0 /app /
|
||||
ENV NODE_ENV production
|
||||
EXPOSE 3000
|
||||
CMD ["node", "./server.js"]
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@odit/shortener-backend",
|
||||
"version": "0.0.2",
|
||||
"version": "0.1.0",
|
||||
"main": "index.js",
|
||||
"license": "MIT",
|
||||
"private": false,
|
||||
|
@ -28,6 +28,12 @@
|
|||
"commit": true,
|
||||
"requireCleanWorkingDir": false,
|
||||
"commitMessage": "🚀RELEASE ${version}",
|
||||
"git.commitArgs": [
|
||||
"-S"
|
||||
],
|
||||
"git.tagArgs": [
|
||||
"-S"
|
||||
],
|
||||
"push": true,
|
||||
"tag": true,
|
||||
"tagName": null,
|
||||
|
|
Loading…
Reference in New Issue